package com.zero.mapper;

import com.zero.entity.Family;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FamilyMapper {

    int add(Family family);

    int delete(int id);

    int update(Family family);

    List<Family> select(Family family);

    Family selectById(int id);

}
